package com.gohome.gohomechat;

import android.content.Context;

/**
 * Created by dllo on 16/3/4.
 */
public class GoHomeModel {
    private static GoHomeModel goHomeModel;
    private String currentUserName;

    private boolean isLoginFirst = true;
    private String nick;
    private String singnature;
    private String birthday;
    private String sex;
    private String age;
    private String zodiaz;
    private String boold;
    private String email;
    private String head;
    private byte[] headByte;



    private GoHomeModel() {
    }

    public static GoHomeModel init() {
        if (goHomeModel == null)
            goHomeModel = new GoHomeModel();
        return goHomeModel;
    }

    public static synchronized GoHomeModel getInstance() {
        if (goHomeModel == null)
            GoHomeModel.init();
        return goHomeModel;
    }

    /**
     * 设置当前用户名字
     */
    public void setCurrentUserName(String currentUserName) {
        this.currentUserName = currentUserName;
    }

    /**
     * 获取当前用户名字
     */
    public String getCurrentUserName() {
        return currentUserName;
    }

    public boolean isLoginFirst() {
        return isLoginFirst;
    }

    public void setIsLoginFirst(boolean isLoginFirst) {
        this.isLoginFirst = isLoginFirst;
    }

    public String getNick() {
        return nick;
    }

    public void setNick(String nick) {
        this.nick = nick;
    }

    public String getSingnature() {
        return singnature;
    }

    public void setSingnature(String singnature) {
        this.singnature = singnature;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getZodiaz() {
        return zodiaz;
    }

    public void setZodiaz(String zodiaz) {
        this.zodiaz = zodiaz;
    }

    public String getBoold() {
        return boold;
    }

    public void setBoold(String boold) {
        this.boold = boold;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getHead() {
        return head;
    }

    public void setHead(String head) {
        this.head = head;
    }

    public byte[] getHeadByte() {
        return headByte;
    }

    public void setHeadByte(byte[] headByte) {
        this.headByte = headByte;
    }
}
